import { defineStore } from 'pinia'



export const useCommonStore = defineStore('common-store', {
  state: () => ({
    spinning: false, //控制全局loading组件的状态
   
  }),
 
  actions: {
    setCurRequestNum(value: boolean) {
      this.spinning = value
    },
    
  }
  
})